@use "./common/var.scss" as *;

.th-menus {
  display: flex;
  flex-direction: column;
  .th-menu {
    display: flex;
    flex-direction: column;
    .th-menu__title {
      font-size: 16px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      b {
        cursor: pointer;
        user-select: none;
        color: $color_primary;
        &:hover {
          color: $color_white;
        }
      }
    }
    .th-menu__desc {
      font-size: 12px;
      color: $color-info;
    }
    .th-sub-menu {
      padding: 10px;
    }
    .th-sub-menu:hover {
      background-color: $color_primary;
      .th-menu__title {
        color: $color_white;
      }
      b {
        color: $color_white;
      }
    }
  }
}
.th-child-menus {
  padding-left: 15px;
  .th-sub-menu:hover {
    background-color: $color_white !important;
    .th-menu__title {
      color: $color_primary !important;
    }
    b {
      color: $color_primary !important;
    }
  }
}
